/* 事件页面特有样式 */

/* 页面标题 */
.page-title {
    text-align: center;
    margin: 6rem 0 3rem;
    color: var(--primary-blue);
    font-size: 2.5rem;
}

/* 事件网格布局 */
.events-container {
    padding: 0 6% 4rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.event-card {
    background: #FFFFFF;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform var(--transition-base);
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.event-content {
    padding: 1.5rem;
}

.event-date {
    color: var(--accent-orange);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.event-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.event-description {
    color: var(--text-dark);
    opacity: 0.8;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.event-button {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: var(--primary-blue);
    color: white;
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 500;
    transition: background var(--transition-base);
}

.event-button:hover {
    background: var(--secondary-blue);
}

/* 过去事件时间线 */
.past-events {
    padding: 3rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.past-events h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-blue);
}

.events-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 2rem;
}

.events-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-blue), var(--secondary-blue));
}

.timeline-event {
    position: relative;
    margin-bottom: 2.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.timeline-event::before {
    content: '';
    position: absolute;
    left: -2.3rem;
    top: 2rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: var(--accent-orange);
    border: 3px solid var(--primary-blue);
}

.timeline-date {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
        margin: 4rem 0 2rem;
    }
    
    .events-grid {
        grid-template-columns: 1fr;
    }
}